﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.Areas;

namespace LeadThing.AbpZeroTemplate.Areas.Dtos
{
    /// <summary>
    /// 地区列表Dto
    /// </summary>
    [AutoMapFrom(typeof(Area))]
    public class AreaFileListDto : EntityDto<long>
    {
        /// <summary>
        /// 城市名称
        /// </summary>
        [DisplayName("城市名称")]
        public string Title { get; set; }

        /// <summary>
        /// X坐标
        /// </summary>
        [DisplayName("X坐标")]
        public string XPoint { get; set; }

        /// <summary>
        /// Y坐标
        /// </summary>
        [DisplayName("Y坐标")]
        public string YPoint { get; set; }

        /// <summary>
        /// 城市等级(0:镇,1:区,2:村)
        /// </summary>
        [DisplayName("城市等级(0:镇,1:区,2:村)")]
        public int Level { get; set; }

        /// <summary>
        /// 父ID
        /// </summary>
        [DisplayName("父ID")]
        public int ParentId { get; set; }

        /// <summary>
        /// 户数
        /// </summary>
        [DisplayName("户数")]
        public int Households { get; set; }

        /// <summary>
        /// 人数
        /// </summary>
        [DisplayName("人数")]
        public int PersonNum { get; set; }

        /// <summary>
        /// 文件ID
        /// </summary>
        [DisplayName("文件ID")]
        public int FileID { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [DisplayName("内容")]
        public string Remarks { get; set; }

        /// <summary>
        /// 影像ID
        /// </summary>
        [DisplayName("摄像头ID")]
        public string CameraID { get; set; }

        #region 扩展字段

        /// <summary>
        /// 文件路径
        /// </summary>
        [DisplayName("文件路径")]
        public string Url { get; set; }

        public string Address { get; set; }

        /// <summary>
        /// 百分比
        /// </summary>
        public string Percentage { get; set; }

        /// <summary>
        /// 总人数
        /// </summary>
        public int SumPerson { get; set; }

        #endregion
    }
}
